package day0605;

public class Test3 {
    public static void main(String[] args) {
        for(int j=1000;j<=2023;j++){
            if(j%4 ==0    &&   j%100 != 0){
                System.out.println(j+"普通闰年");
            }else if(j%400 == 0){
                System.out.println(j+"世纪闰年");
            }
        }
    }
}
